package com.pgcomb.poweriot.alarmservice.enums;

import com.pgcomb.common.enums.IEnum;

public enum AlarmStatusEnum implements IEnum<String> {
	
	ON("on", "告警"),
	OFF("off", "已解除"),
    ;
    private String code;
    private String name;

    AlarmStatusEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
